package com.example.figurehecheng.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 人文关系表
 * </p>
 *
 * @author author
 * @since 2025-04-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("humanity")
@ApiModel(value = "Humanity对象", description = "人文关系表")
public class Humanity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "人文id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "人文类型")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "人文标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "人文描述")
    @TableField("description")
    private String description;


    @ApiModelProperty(value = "人文历史背景")
    @TableField("history_background")
    private String historyBackground;


    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "商家id")
    @TableField("mid")
    private Integer mid;

    @ApiModelProperty(value = "图片id")
    @TableField("image_id")
    private String imageId;

}
